package com.dapeis.web.wx.controller;

import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.google.gson.JsonElement;

/**
 * @author 作者 E-mail:
 * @version 创建时间：2017年4月26日 下午3:06:44 类说明
 */

public interface IRequirementController {

    /**
     * 咨询
     * @param shopId
     * @param scene
     * @param shop
     * @param sex
     * @param minCost
     * @param maxCost
     * @param remark
     * @param request
     * @return
     */
    @RequestMapping(value = "/add_cons", method = RequestMethod.POST)
    public JsonElement addConsulting(@RequestParam Integer shopId,@RequestParam String[] scene,
	    @RequestParam String[] garderobe_ids, @RequestParam String[] shop,
	    @RequestParam String sex, @RequestParam String costCode,
	    @RequestParam String remark, HttpServletRequest request);

    /**
     * 购物
     * 
     * @param shopId
     * @param scene
     * @param shop
     * @param sex
     * @param minCost
     * @param maxCost
     * @param remark
     * @param request
     * @return
     */
    @RequestMapping(value = "/add_buy", method = RequestMethod.POST)
    public JsonElement addBuy(@RequestParam Integer shopId,@RequestParam String[] scene,
	    @RequestParam String[] shop, @RequestParam String sex,
	    @RequestParam String costCode, @RequestParam String remark,
	    HttpServletRequest request);

    /**
     * 陪逛
     * 
     * @param shopId
     * @param scene
     * @param shop
     * @param sex
     * @param minCost
     * @param maxCost
     * @param remark
     * @param cityCode
     * @param addres
     * @param time
     * @param request
     * @return
     */
    @RequestMapping(value = "/add_shop", method = RequestMethod.POST)
    public JsonElement addShopping(@RequestParam Integer shopId,@RequestParam String[] scene,
	    @RequestParam String[] shop, @RequestParam String sex,
	    @RequestParam String costCode, @RequestParam String remark,
	    @RequestParam String countyCode, @RequestParam String addres,
	    @RequestParam String time, HttpServletRequest request);

    /**
     * 整理
     * 
     * @param shopId
     * @param remark
     * @param cityCode
     * @param addres
     * @param time
     * @param request
     * @return
     */
    @RequestMapping(value = "/add_finishing", method = RequestMethod.POST)
    public JsonElement addFinishing(@RequestParam Integer shopId,@RequestParam String remark,
	    @RequestParam String countyCode, @RequestParam String addres,
	    @RequestParam String time, HttpServletRequest request);
    
}
